import Sdk from "./module/SdkModule"

export default class BundleConnector {
  sdk: Sdk
  options: Record<string, any>
  constructor(sdk: Sdk, options: Record<string, any>) {
    this.sdk = sdk
    this.options = options
  }
  connect() {
    return this.sdk.connect(`${window.location.protocol}//${window.location.host}`, this.options)
  }
  cancelConnecting() {}
}
